package com.rentong.wx.cust.dao;

import com.rentong.wx.cust.domain.CustUserServiceEntity;
import com.rentong.wx.cust.dto.CustUserServiceEntityDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 *
 * @author zhangle
 * @email 459343178@qq.com
 * @date 2024-12-24 14:42:31
 */
@Mapper
public interface CustUserServiceDao extends BaseMapper<CustUserServiceEntity> {

    List<CustUserServiceEntityDto> getServiceByCustId(Long custId);

    //该接口已废弃
    void deleteByCustIdAndServiceId(@Param("custId") Long custId, @Param("serviceIds") List<Integer> serviceIds);

    void deleteByCustId(@Param("custId") Long custId);



}
